projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e98e37
)
Removed needless size-requesting of children (child sizes are ignored at request...
author
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Fri, 8 Oct 2010 13:25:16 +0000
(22:25 +0900)
committer
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Fri, 8 Oct 2010 13:33:21 +0000
(22:33 +0900)
gtk/gtklayout.c
patch
|
blob
|
history
diff --git
a/gtk/gtklayout.c
b/gtk/gtklayout.c
index b1a7e96abbffdcbca8ab9ca343b3c7fc6a1876bd..930e98d27248e07c3a537e71734c02a1b689dad9 100644
(file)
--- a/
gtk/gtklayout.c
+++ b/
gtk/gtklayout.c
@@
-975,24
+975,8
@@
static void
gtk_layout_size_request (GtkWidget *widget,
GtkRequisition *requisition)
{
- GtkLayout *layout = GTK_LAYOUT (widget);
- GtkLayoutPrivate *priv = layout->priv;
- GList *tmp_list;
-
requisition->width = 0;
requisition->height = 0;
-
- tmp_list = priv->children;
-
- while (tmp_list)
- {
- GtkLayoutChild *child = tmp_list->data;
- GtkRequisition child_requisition;
-
- tmp_list = tmp_list->next;
-
- gtk_widget_get_preferred_size (child->widget, &child_requisition, NULL);
- }
}
static void